﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Mediator
{
    class ColleagueButton : Button, IColleague
    {
        private IMediator mediator;

        public ColleagueButton()
        {
        }


        #region IColleague メンバ

        public void SetMediator(IMediator mediator)
        {
            this.mediator = mediator;
        }

        public void SetColleagueEnabled(bool enabled)
        {
            base.Enabled = enabled;
        }

        #endregion
    }
}
